﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace BskLeague.Models
{
    public class News
    {
        [Key]
        public int newsId { get; set; }
        public string newsTitle { get; set; }
        public string newsContent { get; set; }
        public DateTime newsDate { get; set; }
        public bool newsActive { get; set; }

        public virtual NewsCategory newsCategory { get; set; }
        public virtual List<NewsComment> newsComments { get; set; }
    }
}